import request from '@/utils/request2'
import qs from 'qs'
export function getRunCommuList(data) {
  return request({
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'

    },
    url: '/a1bpmn/api/commu/list',
    method: 'POST',
    data: qs.stringify(data)
  })
}
export function getRunCommuListCount() {
  return request({
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'

    },
    url: '/a1bpmn/api/commu/list/count',
    method: 'POST'
  })
}
export function getHisCommuList(data) {
  return request({
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'

    },
    url: '/a1bpmn/api/commu/his/list',
    method: 'POST',
    data: qs.stringify(data)
  })
}

export function tagRead(data) {
  return request({
    headers: {
      'Content-Type': 'application/json'
    },
    url: '/a1bpmn/api/commu/tagRead',
    method: 'POST',
    data: data
  })
}

